virtual void use_triangles(int pic=-1,int textunit=0)=0
Parameter | Type | Description |
---|---|---|
pic | int | picture index to selected |
textunit | int | texture unit to select |
None
This virtual function selects a picture to be used in the specified texture unit. The texture unit remains selected and active after the call. Calling this function with pic=-1 will disable texturing in the specified texture unit. The number of texture units available is in the ntextureunits global variable. This is a variation of the use function that can be called between glBegin/glEnd pairs.